package taskadvanced.tests.unit;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;

import org.junit.Before;
import org.junit.Test;

import taskadvanced.core.rtm.Parameter;

public class ParameterTest {
	private Parameter param1;
	private Parameter param2;
	private Parameter param3;

	@Before
	public void setUp() throws Exception {
		param1 = new Parameter("xyz","fgh");
		param2 = new Parameter("XYz","FgH");
		param3 = new Parameter("xyz","fhg");
	}

	@Test
	public void testEqualsObject() {
		assertEquals(param1,param2);
		assertFalse(param1.equals(param3));
		assertFalse(param2.equals(param3));
	}

}
